home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 4 / Amiga Tools 4.iso / tools / netzwerk / pronet / pronet20.lha / ProNET / include / devices / pronet.i < prev   
Text File  |  1995-06-22  |  1KB  |  46 lines

  1.     IFND    DEVICES_PRONET_I
  2. DEVICES_PRONET_I SET    1
  3. **
  4. **    pronet.device V2 include file
  5. **
  6.  
  7.     IFND    EXEC_IO_I
  8.     INCLUDE    "exec/io.i"
  9.     ENDC
  10.  
  11. PNDERR_PORTEXISTS    equ    -94
  12. PNDERR_BADCONFIG    equ    -95
  13. PNDERR_DRIVERTROUBLE    equ    -96
  14.  
  15.       STRUCTURE    PNRequest,IO_SIZE
  16.     APTR    pnr_MsgPort
  17.     UWORD    pnr_NetSourcePort
  18.  
  19.     UWORD    pnr_NetDestPort
  20.     APTR    pnr_Data1
  21.     ULONG    pnr_Length1
  22.     APTR    pnr_Data2
  23.     ULONG    pnr_Length2
  24.     LABEL    pnr_Size
  25.  
  26. ; pnr_MsgPort        Messageport where data sent from the other machine
  27. ;            will be sent to.
  28. ; pnr_NetSourcePort    Logical Portnumber of the device-user.
  29. ; ^^ Both values must be specified at device-opening time and must remain
  30. ;    until closing the device.
  31. ;
  32. ; pnr_NetDestPort    Messageport where the data is to be sent to.
  33. ; pnr_Data1/2        Length of both data added must NOT be higher
  34. ; pnr_Length1/2        than $4000 (16K) - if you just want to send
  35. ;            one chunk of data, make pnr_Length2 = 0
  36.  
  37. PNP_NAME    equ    -1
  38. PNP_NEXTFREE    equ    -2
  39.  
  40. PND_WRITE    equ    3    ;equal to CMD_WRITE..
  41.  
  42. _LVOGetConfigString    equ    -42    ;hmm, not quite the right place
  43. _LVOFreeConfigString    equ    -48    ;for this ???
  44.  
  45.     ENDC    ; DEVICES_PRONET_I
  46.